#pragma once

#include "item.h"

class CWeb : public CItem
{
private:
	float fSlowDuration;
	float fSlowAmount;
	
public:
	float GetSlowDuration() const { return fSlowDuration; }
	float GetSlowAmount() const { return fSlowAmount; }

	void SetSlowDuration(float val) { fSlowDuration = val; }
	void SetSlowAmount(float val) { fSlowAmount = val; }

	virtual void Update(float fElapsedTime) override;
	virtual void Render() override;

	virtual void HandleCollision(const IEntity* pOther) override;
};

